<?php
	class NewsDao extends BaseDao {

		public function __construct($dns, $username, $password) {
			parent::__construct($dns, $username, $password);

			$this->mapping = new Mapping("News", "t_news", array("idNews"),
				array("idNews","game","season","user","subject","message"),
				array("id_news","id_game","id_season","id_user","subject","message")
			);
		}

}